package com.intech.android.demo.cms.validators;


public abstract class Validator
{
    protected String message;
    protected boolean valid;

    public boolean isValid()
    {
        return valid;
    }

    public String getMessage()
    {
        return message;
    }

    public void clearMessage()
    {
        message = null;
    }

    public abstract void check();
}
